﻿<Window x:Class="ACPLogAnalyzer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ACP Log Analyzer" Height="671" Width="1031" ResizeMode="CanMinimize" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Grid Name="mainGrid">
        <GroupBox Header="Report (double-click to view in editor)" Height="556" HorizontalAlignment="Left" Margin="610,5,0,0" Name="groupBox1" VerticalAlignment="Top" Width="399">
            <Grid>
                <Button Content="Save..." Height="25" HorizontalAlignment="Left" Margin="245,500,0,0" Name="buttonSaveReport" VerticalAlignment="Top" Width="58" Click="buttonSaveReport_Click" ToolTip="Save the current report to disk" />
                <ListBox Height="488" HorizontalAlignment="Left" Margin="6,6,0,0" Name="listBoxReport" VerticalAlignment="Top" Width="375" Background="White" ToolTip="Report contents" MouseDoubleClick="listBoxReport_MouseDoubleClick" />
                <Button Content="Configure..." Height="25" HorizontalAlignment="Left" Margin="309,500,0,0" Name="buttonConfigReport" VerticalAlignment="Top" Width="72" Click="buttonConfigReport_Click" ToolTip="Configure which items appear in the report" />
                <Button HorizontalAlignment="Left" Content="Generate Report On All Logs" Name="buttonReportAll" Width="233" Margin="6,500,0,0" Click="buttonReportAll_Click" Height="25" VerticalAlignment="Top" ToolTip="Create a report on all log files listed below" />
            </Grid>
        </GroupBox>
        <TextBlock Height="53" HorizontalAlignment="Left" Margin="69,14,0,0" Name="textBlock2" Text="ACP Log Analyzer" VerticalAlignment="Top" Width="253" TextAlignment="Left" FontSize="32" FontStyle="Normal" FontWeight="ExtraLight" />
        <Image Height="50" HorizontalAlignment="Left" Name="image1" Stretch="Uniform" VerticalAlignment="Top" Width="50" Source="/ACPLogAnalyzer;component/Images/ACPLASm.png" Margin="8,11,0,0" />
        <GroupBox Header="Graphs" Height="62" HorizontalAlignment="Left" Margin="610,567,0,0" Name="groupBox2" VerticalAlignment="Top" Width="399">
            <Grid>
                <Button Content="Plot..." Height="25" HorizontalAlignment="Left" Margin="245,6,0,0" Name="buttonPlot" VerticalAlignment="Top" Width="58" Click="buttonPlot_Click" />
                <Button Content="Configure..." Height="25" HorizontalAlignment="Left" Margin="309,6,0,0" Name="buttonConfigPlot" VerticalAlignment="Top" Width="72" Click="buttonConfigPlot_Click" />
                <ComboBox Height="25" HorizontalAlignment="Left" Margin="6,6,0,0" Name="comboBoxGraphs" VerticalAlignment="Top" Width="233" ItemsSource="{Binding Path=m_graphOptions}" />
            </Grid>
        </GroupBox>

        <GroupBox Header="Logs (0) (drag log files into this list)" Height="171" HorizontalAlignment="Left" Margin="8,165,0,0" Name="groupBoxLogsList" VerticalAlignment="Top" Width="594">
            <Grid>
                <ListBox Height="137" HorizontalAlignment="Left" Margin="6,6,0,0" Name="listBoxLogs" VerticalAlignment="Top" Width="570" SelectionChanged="listBoxLogs_SelectionChanged" Background="White" AllowDrop="True" DragEnter="listBoxLogs_DragEnter" Drop="listBoxLogs_Drop" ToolTip="ACP log list" MouseDoubleClick="listBoxLogs_MouseDoubleClick">
                    <ListBox.ContextMenu>
                        <ContextMenu Name="contextMenuLogs">
                            <MenuItem Header="Remove log from list" Click="MenuItemRemoveLog_Click" />
                            <MenuItem Header="Cancel" />
                        </ContextMenu>
                    </ListBox.ContextMenu>
                </ListBox>
            </Grid>
        </GroupBox>
        <GroupBox Header="Log contents (double-click to view in editor)" Height="287" HorizontalAlignment="Left" Margin="8,342,0,0" Name="groupBox4" VerticalAlignment="Top" Width="594">
            <Grid>
                <ListBox Height="252" HorizontalAlignment="Left" Margin="6,6,0,0" Name="listBoxLog" VerticalAlignment="Top" Width="570" Background="White" ToolTip="ACP log viewer" MouseDoubleClick="listBoxLog_MouseDoubleClick" SelectionMode="Single" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Find logs" Height="94" HorizontalAlignment="Left" Margin="8,65,0,0" Name="groupBox3" VerticalAlignment="Top" Width="594">
            <Grid>
                <Button Content="Add All Logs In Path" Height="25" HorizontalAlignment="Left" Margin="391,39,0,0" Name="buttonReadLogs" VerticalAlignment="Top" Width="185" Click="buttonReadLogs_Click" ToolTip="Search the directory (and sub-directories) in the selected path for ACP log files" />
                <Button Content="Select Path..." Height="23" HorizontalAlignment="Right" Margin="0,9,6,0" Name="buttonPath" VerticalAlignment="Top" Width="98" Click="buttonPath_Click" ToolTip="Select a path to search for ACP log files" />
                <Button IsEnabled="True" Content="Add Single Log ..." Height="25" HorizontalAlignment="Left" Margin="199,39,0,0" Name="buttonLog" VerticalAlignment="Top" Width="185" Click="buttonLog_Click" ToolTip="Browse to select a single ACP log file" />
                <ComboBox Height="23" HorizontalAlignment="Left" Margin="6,9,0,0" Name="comboBoxPath" VerticalAlignment="Top" Width="463" AllowDrop="False" IsEditable="False" ToolTip="Select a path to search for ACP logs" />
                <Button HorizontalAlignment="Left" Content="Clear Log List" Height="25" Margin="6,39,0,0" Name="buttonClearLogList" Width="185" Click="buttonClearLogList_Click" VerticalAlignment="Top" ToolTip="Clear the list of log files" />
            </Grid>
        </GroupBox>
        <GroupBox Header="Application" Height="63" HorizontalAlignment="Left" Margin="322,4,0,0" Name="groupBox5" VerticalAlignment="Top" Width="280">
            <Grid>
                <Button Content="Help" Height="25" HorizontalAlignment="Left" Margin="10,6,0,0" Name="buttonHelpBrowser" VerticalAlignment="Top" Width="80" Click="buttonHelpBrowser_Click" />
                <Button Content="Update" Height="25" HorizontalAlignment="Left" Margin="182,6,0,0" Name="buttonUpdate" VerticalAlignment="Top" Width="80" Click="buttonUpdate_Click" />
                <Button Content="About" Height="25" HorizontalAlignment="Left" Margin="96,6,0,0" Name="buttonHelp" VerticalAlignment="Top" Width="80" Click="buttonHelp_Click" />
            </Grid>
        </GroupBox>
    </Grid>
</Window>
